package com.example.venadaoa;

import android.app.Application;
import android.content.Context;
import cn.jpush.android.api.JPushInterface;


/**
 *
 * daiye
 * 2015/07/01
 */
public class VenadaOAApplication extends Application {

    private static Context mContext;
    private static VenadaOAApplication self;
  

    @Override
    public void onCreate() {
        super.onCreate();

        self = this;
        mContext = getApplicationContext();



        JPushInterface.setDebugMode(false); 	// 设置开启日志,发布时请关闭日志
        JPushInterface.init(this);


    }



    public static VenadaOAApplication getInstance() {
        return self;
    }

    public static Context getContext() {
        return mContext;
    }

   
}
